import axios from '@/libs/api.request'

export class MergeBillApi {
  // 账单合并
  static getList (params) {
    return axios.request({
      url: '/MergeBill/GetList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 社保明细|公积金明细|商保明细
  static getDetailList (params) {
    return axios.request({
      url: '/MergeBill/GetDetailList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 薪资明细
  static getSalaryDetailList (params) {
    return axios.request({
      url: '/MergeBill/GetSalaryDetailList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 服务费明细
  static getServiceFeeDetailLList (params) {
    return axios.request({
      url: '/MergeBill/GetServiceFeeDetailLList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 明细汇总
  static getSummaryDetailList (params) {
    return axios.request({
      url: '/MergeBill/GetSummaryDetailList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 社保汇总|服务费汇总|汇总报表
  static getSummaryList (params) {
    return axios.request({
      url: '/MergeBill/GetSummaryList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 用户列表
  static getUserList (params) {
    return axios.request({
      url: '/MergeBill/GetUserList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出社保明细|公积金明细|商保明细
  static exportDetailList (params) {
    return axios.request({
      url: '/MergeBill/ExportDetailList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出薪资明细
  static exportSalaryDetailList (params) {
    return axios.request({
      url: '/MergeBill/ExportSalaryDetailList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出服务费明细
  static exportServiceFeeDetailLList (params) {
    return axios.request({
      url: '/MergeBill/ExportServiceFeeDetailLList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出明细汇总
  static exportSummaryDetailList (params) {
    return axios.request({
      url: '/MergeBill/ExportSummaryDetailList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出社保汇总|服务费汇总|汇总报表
  static exportSummaryList (params) {
    return axios.request({
      url: '/MergeBill/ExportSummaryList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出【客户数据汇总】
  static exportCustomerSummary (params) {
    return axios.request({
      url: '/MergeBill/ExportCustomerSummary',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出【汇总报表】PDF
  static exportSummaryListPdf (params) {
    return axios.request({
      url: '/MergeBill/ExportSummaryListPdf',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出【客户数据明细】
  static exportCustomerSummaryDetail (params) {
    return axios.request({
      url: '/MergeBill/ExportCustomerSummaryDetail',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出【员工数据汇总】
  static exportEmployeeSummary (params) {
    return axios.request({
      url: '/MergeBill/ExportEmployeeSummary',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出【员工数据明细】
  static exportEmployeeSummaryDetail (params) {
    return axios.request({
      url: '/MergeBill/ExportEmployeeSummaryDetail',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
}